package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.lang.Long;
import java.util.Date;

/**
 * 案件-律师关联表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "case_lawyer",dataSource = "caseDS")
public class CaseLawyerEntity {

    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 案件ID
     */
    @Column(value = "case_id")
    private Long caseId;

    /**
     * 律师ID
     */
    @Column(value = "lawyer_id")
    private Long lawyerId;

    /**
     * 分配时间
     */
    @Column(value = "assign_time")
    private Date assignTime;

    /**
     * 接收时间
     */
    @Column(value = "accept_time")
    private Date acceptTime;

    /**
     * 完成时间
     */
    @Column(value = "complete_time")
    private Date completeTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Long getLawyerId() {
        return lawyerId;
    }

    public void setLawyerId(Long lawyerId) {
        this.lawyerId = lawyerId;
    }

    public Date getAssignTime() {
        return assignTime;
    }

    public void setAssignTime(Date assignTime) {
        this.assignTime = assignTime;
    }

    public Date getAcceptTime() {
        return acceptTime;
    }

    public void setAcceptTime(Date acceptTime) {
        this.acceptTime = acceptTime;
    }

    public Date getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(Date completeTime) {
        this.completeTime = completeTime;
    }
}
